//
// Created by tjlhz on 2022/6/25.
//

#ifndef SUMMER_STUDY_TEACHCLASSMANAGER_H
#define SUMMER_STUDY_TEACHCLASSMANAGER_H

#include <vector>
#include "TeachClass.h"

class TeachClassManager {
public:
    TeachClassManager();
    ~TeachClassManager();
    vector<CTeachClass *> mTeachClassVec;

    bool InsertTeachClass(CTeachClass teachClass);
    bool EditTeachClass(CTeachClass teachClass);
    bool DelTeachClass(int teachClassId);

    CTeachClass * GetTeachClass(int teachClassId);
    vector<CTeachClass *> GetCourseVec(string courseName, string teacherName);

    bool JoinClass(int teachClassId, CStudent student);
};

#endif //SUMMER_STUDY_TEACHCLASSMANAGER_H
